package org.rufolfheszele.andpixelbyandpixel;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        MainApplication.getMainApplication().registerMainActivity(this);
        mMainImageView = new MainImageView(this);
        this.setContentView(mMainImageView);
    }
    
    @Override
    public void onStop()
    {
    	MainApplication.getMainApplication().onStop();
    }
    
    public MainImageView getMainImageView()
    {
    	return mMainImageView;
    }
    
    private MainImageView mMainImageView = null;
}
